*% Copyright 1996 - 2003, Hewlett-Packard Co.
*% All Rights Reserved.

*%-------------------------------------------------------------------------
*% Version Section
*%-------------------------------------------------------------------------
*GPDFileName: "hpc6li5l.gpd"
*GPDSpecVersion: "1.0"
*GPDFileVersion: "041.237"

*%-------------------------------------------------------------------------
*% Include Section
*%-------------------------------------------------------------------------
*Include: "stdnames.gpd"
*Include: "hpzsmlhn.gpd"

*HelpFile: "hpzhllhn.hlp"       *% Get this from the required phase

*Feature: RESDLL
{
    *Name: "resource dll files"

    *Option: STRRESSEC
    {
        *Name: "hpzstlhn.dll"       *% Get this from the required phase
    }
}

*%-------------------------------------------------------------------------
*% Model Name Section
*%-------------------------------------------------------------------------

*ModelName: "HP Color LaserJet 8550 PCL"

*MasterUnits: PAIR(1200, 1200)

*PrintRate: 16
*PrintRateUnit: PPM
*PrintRatePPM: 16

*PrinterType: PAGE
*MaxCopies: 999                     *% Refer to product specs 

*FontCartSlots: 0
*TTFSEnabled?: TRUE
*DeviceFonts: =IDS_DEFAULT_FONT
*DefaultFont: =IDS_DEFAULT_FONT
*TTFS: Courier
{
  *TTFontName: "Courier New"
  *DevFontName: "Courier New"
}

*%-------------------------------------------------------------------------
*% Macros section
*%-------------------------------------------------------------------------

*BlockMacro: OutputBinConstraints
{
    *Constraints: OutputBin.MailBox1
    *Constraints: OutputBin.MailBox2
    *Constraints: OutputBin.MailBox3
    *Constraints: OutputBin.MailBox4
    *Constraints: OutputBin.MailBox5
    *Constraints: OutputBin.MailBox6
    *Constraints: OutputBin.MailBox7
    *Constraints: OutputBin.MailBox8
    *Constraints: OutputBin.Stapler
    *Constraints: OutputBin.Stacker
    *Constraints: OutputBin.Seperator
    *Constraints: OutputBin.Collator
    *Constraints: OutputBin.StackerStapled
}

*Macros: OEM_Custom_Data_Tags
{
    OEMDATA_TAG_F_COLSMART_START: "[F][HPColorSmart]"
    OEMDATA_TAG_SF_CS_TEXT_HALFTONE:"[SF][HPColorSmart_Text_Halftone][Smooth#1b*t15J][Detail#1b*t0J][/SF]"
    OEMDATA_TAG_SF_CS_TEXT_COLORMAP: "[SF][HPColorSmart_Text_ColorMap][Vivid#1b*o3W643][ScreenMatch#1b*o3W646][Transparency#1b*o3W640][/SF]"
    OEMDATA_TAG_SF_CS_GRAPHICS_HALFTONE:"[SF][HPColorSmart_Graphics_Halftone][Smooth#1b*t18J][Detail#1b*t15J][/SF]"
    OEMDATA_TAG_SF_CS_GRAPHICS_COLORMAP: "[SF][HPColorSmart_Graphics_ColorMap][Vivid#1b*o3W643][ScreenMatch#1b*o3W646][Transparency#1b*o3W640][/SF]"
    OEMDATA_TAG_SF_CS_PHOTOS_HALFTONE:"[SF][HPColorSmart_Photos_Halftone][Smooth#1b*t18J][Detail#1b*t15J][/SF]"
    OEMDATA_TAG_SF_CS_PHOTOS_COLORMAP: "[SF][HPColorSmart_Photos_ColorMap][Vivid#1b*o3W643][ScreenMatch#1b*o3W646][Transparency#1b*o3W640][/SF]"
    OEMDATA_TAG_F_COLSMART_END: "[/F]"
}

EXTERN_GLOBAL: *OEMCustomData:
+  =OEMDATA_TAG_F_COLSMART_START
+  =OEMDATA_TAG_SF_CS_TEXT_HALFTONE
+  =OEMDATA_TAG_SF_CS_TEXT_COLORMAP
+  =OEMDATA_TAG_SF_CS_GRAPHICS_HALFTONE
+  =OEMDATA_TAG_SF_CS_GRAPHICS_COLORMAP
+  =OEMDATA_TAG_SF_CS_PHOTOS_HALFTONE
+  =OEMDATA_TAG_SF_CS_PHOTOS_COLORMAP
+  =OEMDATA_TAG_F_COLSMART_END

*%------------------------------------------------------------------------
*% DOC_PROP Standard features section
*%------------------------------------------------------------------------
*Feature: Resolution
{
    *rcNameID: =IDS_RESOLUTION_DISPLAY
    *DefaultOption: 600dpi

    *Option: 600dpi
    {
        *rcNameID: =IDS_600DPI
        *DPI: PAIR(600, 600)
        *TextDPI: PAIR(600, 600)
        *MinStripBlankPixels: 32
        EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
        *SpotDiameter: 100
        
        *Command: CmdBeginRaster
        {
            *Cmd: "<1B>*v7S<1B>*r1A"              *%  Use this for Color PCL5
        }

        *Command: CmdEndRaster
        {
            *Cmd: "<1B>*rC"                       *%  Use this for Color PCL5
        }

        *Command: CmdSendBlockData 
        {
            *Cmd : "<1B>*b" %d{NumOfDataBytes}"W"
        }

        *Command: CmdSelect
        {
            *Order: JOB_SETUP.190
            *Cmd: "@PJL SET RESOLUTION=600<0A>"
+                 "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
        }
    }
}

*Feature: Orientation
{
    *rcNameID: =IDS_ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    
    *Option: PORTRAIT
    {
        *rcNameID: =IDS_PORTRAIT_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
            *NoPageEject?: TRUE
            *CallbackID: =CMDCB_HPROT_DOC_SETUP
        }
    }

    *Option: LANDSCAPE_CC90
    {
        *rcNameID: =IDS_LANDSCAPE_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
            *NoPageEject?: TRUE
            *CallbackID: =CMDCB_HPROT_DOC_SETUP
        }
    }
}

*Feature: HPOrientRotate180
{     
    *rcNameID: =IDS_ORIENT_ROTATE_180
    *HelpIndex: =IDH_UNIDRV_PRINT_ROTATED
    *DefaultOption: False

    *Option: False
    {
        *rcNameID: =IDS_OFF_DISPLAY
    }

    *Option: True
    {
        *rcNameID: =IDS_ON_DISPLAY
    }
}

*Feature: Duplex
{
    *rcNameID: =IDS_TWO_SIDED_PRINTING_DISPLAY
    *HelpIndex: =IDH_UNIDRV_PRINT_ON_BOTH_SIDES_AUTO
    *ConflictPriority: 4
    *DefaultOption: NONE
    
    *Option: NONE
    {
        *rcNameID: =IDS_NONE 
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.60
            *Cmd: "<1B>&l0S"
        }
    }

    *Option: VERTICAL
    {
        *rcNameID: =IDS_FLIP_ON_LONG_EDGE_STANDARD 
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.60
            *Cmd: "<1B>&l1S"
        }
    }

    *Option: HORIZONTAL
    {
        *rcNameID: =IDS_FLIP_ON_SHORT_EDGE  
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.60
            *Cmd: "<1B>&l2S"
        }
    }
}

*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *HelpIndex: =IDH_UNIDRV_PAPER_SIZE
    *ConflictPriority: 1
    *DefaultOption: LETTER

    *Option: LETTER                                 *% physical page (10200, 13200 - 8.5" x 11.0")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            { 
                *PrintableArea: PAIR(9600, 12800)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l2A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5760x7680Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9800, 12720) 
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 12960)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l2A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: LEGAL                                  *% physical page (10200, 16800 - 8.5" x 14.0"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9600, 16400)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l3A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9800, 16320)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 16560)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l3A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: EXECUTIVE                              *% physical page (8700, 12600 - 7.25" x 10.5"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(8100, 12200)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l1A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t4860x7320Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(8300, 12120)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 12360)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l1A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: A4                                      *% physical page (9920, 14030 - 8.2677" x 11.693")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9352, 13628)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l26A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5611x8176Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9520, 13558)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 13794)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l26A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t8135x5712Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: ENV_10                                 *% physical page (4948, 11400 - 4.125" x 9.5"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4348, 11000)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l81A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t2609x6600Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4548, 10920)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 11160)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l81A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t6552x2729Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: ENV_DL                                 *% physical page (5196, 10392 - 4.3307" x 8.6614")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4628, 9992)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l90A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t2777x5995Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4796, 9920)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 10156)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l90A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5952x2878Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: ENV_MONARCH                            *% physical page (4648, 9000 - 3.875" x 7.50")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4048, 8600)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l80A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t2429x5160Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4248, 8520)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 8760)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l80A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5112x2549Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: ENV_B5                                 *% physical page (8314, 11810 - 6.9291" x 9.8425"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(7746, 11410)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l100A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t4647x6846Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(7914, 11338)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 11574)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l100A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t6802x4748Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: A5                                      *% physical page (6992, 9920 - 5.8268" x 8.2677")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(6424, 9520)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l25A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t3855x5712Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(6592, 9448)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 9684)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l25A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5669x3955Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: B5                                      *% B5 (JIS) physical page (8598, 12140 - 7.1653" x 10.118")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(8030, 11740)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l45A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t4818x7044Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(8198, 11668)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 11904)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l45A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t7001x4919Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: ENV_C5                                 *% physical page (7652, 10818 - 6.3779" x 9.0157"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(7084, 10416)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l91A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t4250x6249Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(7252, 10346)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 10582)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l91A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t6208x4352Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option:16K                                      *% physical page (9300, 12900 - 7.75" x 10.75")
    {
        *rcNameID: =IDS_16K_DISPLAY
        *PageDimensions: PAIR(9300,12900)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(8700,12500)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l17A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5220x7500Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(8900, 12420)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 12660)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l17A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t7452x5340Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option:EXECUTIVE_JIS                             *% physical page (10202, 15588 - 8.5039" x 12.992"))
    {
        *rcNameID: =IDS_EXECUTIVE_JIS
        *PageDimensions: PAIR(10200,15588)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9602, 15190)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l18A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5761x9114Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9802, 15110)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 15350)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l18A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t9066x5881Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: DBL_JAPANESE_POSTCARD_ROTATED          *% physical page (6992, 9448 - 5.8268" x 7.874")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(6424,9048)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l72A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t3854x5428Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(6592, 8976)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 9212)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l72A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5386x3955Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: 11X17                                  *% physical page (13200, 20400 - 11.00" x 17.00")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            { 
                *PrintableArea: PAIR(12600, 20000)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l6A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(12800, 19920)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 20160)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l6A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t11952x7680Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: A3                                     *% physical page (14030, 19842 - 11.693" x 16.535")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            { 
                *PrintableArea: PAIR(13462, 19440)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l27A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t8077x11664Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(13628, 19370)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 19606)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l27A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t11622x8176Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: B4                                     *% B4 (JIS) physical page (12140, 17196 - 10.118" x 14.33")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            { 
                *PrintableArea: PAIR(11572, 16796)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l46A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t6943x10078Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(11740, 16724)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 16960)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l46A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t10034x7044Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option:8K                                      *% physical page (12900, 18600 - 10.748" x 15.512")
    {
        *rcNameID: =IDS_8K
        *PageDimensions: PAIR(12900,18600)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(12300, 18200)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.12
                    *Cmd: "<1B>&l19A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t7380x10920Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(12500, 18120)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 18360)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.12
                    *Cmd: "<1B>&l19A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t10872x7500Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: CUSTOMSIZE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *MinSize: PAIR(4632, 8988)                      *% min page (3.86" x 7.49") - This is the smallest paper supported by the printer
        *MaxSize: PAIR(14400, 22200)                    *% actual max page (12"x 18.5") - This is the largest paper supported by the printer
        *MaxPrintableWidth: 14400                       *% This corresponds to the X value of the MaxSize keyword
        *MinLeftMargin: 100
        *CenterPrintable?: FALSE
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *CustCursorOriginX:     %d{300}
                *CustCursorOriginY:     %d{300}
                *CustPrintableOriginX:  %d{300}
                *CustPrintableOriginY:  %d{300}
                *CustPrintableSizeX:    %d{PhysPaperWidth - 600}
                *CustPrintableSizeY:    %d{PhysPaperLength - 600}

                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l101A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c4d1E<1B>*p0x0Y<1B>*c0t" %d{((PhysPaperWidth-600)*720)/1200} "x" %d{((PhysPaperLength-600)*720)/1200} "Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *CustCursorOriginX:     %d{200}
                *CustCursorOriginY:     %d{PhysPaperLength - 300}
                *CustPrintableOriginX:  %d{400}
                *CustPrintableOriginY:  %d{300}
                *CustPrintableSizeX:    %d{PhysPaperWidth - 800}
                *CustPrintableSizeY:    %d{PhysPaperLength - 600}

                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l101A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c4d2E<1B>*p0x0Y<1B>*c0t" %d{((PhysPaperLength-600)*720)/1200} "x" %d{((PhysPaperWidth-600)*720)/1200} "Y<1B>*b0M<0D>"
                }
            }
        }
    }
}

*Feature: InputBin
{
    *rcNameID: =IDS_PAPER_SOURCE
    *HelpIndex: =IDH_UNIDRV_FIRST_PAGE_SOURCE_IS
    *ConflictPriority: 3
    *DefaultOption: PrinterSelect

    *Option: PrinterSelect
    {
        *rcNameID: =IDS_PRINTER_AUTO_SELECT
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l7H"
        }
    }

    *Option: Tray1
    {
        *rcNameID: =IDS_TRAY1
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l4H"
        }
    }

    *Option: Tray2
    {
        *rcNameID: =IDS_TRAY2
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l1H"
        }
    }

    *Option: Tray3
    {
        *rcNameID: =IDS_TRAY3
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l5H"
        }
    }

    *Option: Tray4_1000
    {
        *rcNameID: =IDS_TRAY4_1000
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l8H"
        }
    }

    *Option: Tray4_2000
    {
        *rcNameID: =IDS_TRAY4_2000
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l8H"
        }
    }

    *Option: ManualFeed
    {
        *rcNameID: =IDS_MANUAL_FEED_TRAY1
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l2H"
        }
    }
}

*Feature: MediaType
{
    *rcNameID: =IDS_MEDIA_TYPE_DISPLAY
    *HelpIndex: =IDH_UNIDRV_FIRST_PAGE_TYPE_IS
    *ConflictPriority: 2
    *DefaultOption: Auto

    *Option: Auto
    {
        *rcNameID: =IDS_UNSPECIFIED
    }

    *Option: PLAIN
    {
        *rcNameID: =IDS_PLAIN_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n6WdPlain"
        }
    }

    *Option: PREPRINTED
    {
        *rcNameID: =IDS_PREPRINTED_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n11WdPreprinted"
        }
    }

    *Option: LETTERHEAD
    {
        *rcNameID: =IDS_LETTERHEAD_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n11WdLetterhead"
        }
    }

    *Option: TRANSPARENCY
    {
        *rcNameID: =IDS_TRANSPARENCY_DISPLAY
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n13WdTransparency"
        }
    }

    *Option: PREPUNCHED
    {
        *rcNameID: =IDS_PREPUNCHED_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n11WdPrepunched"
        }
    }

    *Option: LABELS
    {
        *rcNameID: =IDS_LABELS_TYPE
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n7WdLabels"
        }
    }

    *Option: BOND
    {
        *rcNameID: =IDS_BOND_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n5WdBond"
        }
    }

    *Option: RECYCLED
    {
        *rcNameID: =IDS_RECYCLED_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n9WdRecycled"
        }
    }

    *Option: COLOR
    {
        *rcNameID: =IDS_COLOR_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n6WdColor"
        }
    }

    *Option: CARDSTOCK
    {
        *rcNameID: =IDS_CARDSTOCK       *%  "Cardstock"
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n11WdCard Stock"
        }
    }

    *Option: HEAVY
    {
        *rcNameID: =IDS_HEAVY_28LB_TYPE                 *%  "Heavy > 28 lb"
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n6W<64>Heavy"
        }
    }

    *Option: GLOSS
    {
        *rcNameID: =IDS_GLOSS_TYPE             *%  "Glossy"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n6W<64>Gloss"
        }
    }

    *Option: ENVELOPE
    {
        *rcNameID: =IDS_ENVELOPE_TYPE
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n9WdEnvelope"
        }
    }

    *Option: 28_LB_TYPE1
    {
        *rcNameID: =IDS_28LB_TYPE1_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n10W<64>Type28lb1"
        }
    }
    *Option: 28_LB_TYPE2
    {
        *rcNameID: =IDS_28LB_TYPE2_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n10W<64>Type28lb2"
        }
    }

    *%  Addition of User Defined Media Types. These are processed through EAC/BiDi.
    *%  Currently MOMBI supports only upto 5. Also make sure that HPMediaPMLRange feature is also present

    *Option: UserDefinedMedia1
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia2
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia3
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia4
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia5
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *%  End of Addition of User Defined Media Types.

}

*Feature: Collate
{
    *rcNameID: =IDS_COLLATE
    *DefaultOption: OFF

    *Option: OFF
    {
        *rcNameID: =IDS_OFF_DISPLAY
    }

    *Option: ON
    {
        *rcNameID: =IDS_ON_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.90
            *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
        }
        *Constraints: DeviceIsMopier.NotInstalled
    }
}

*switch: Collate
{
    *case: OFF
    {
        *Command: CmdCopies
        {
            *Order: DOC_SETUP.80
            *Cmd: "<1B>&l" %d[1,9999]{NumOfCopies}"X"       *% Set copy count to NumOfCopies
        }
    }

    *case: ON
    {
        *Command: CmdCopies
        {
            *Order: DOC_SETUP.80
            *Cmd: "<1B>&l1X"        *%Printer collate or Spooler collate!. Set copy count to 1
        }
    }
}

*Feature: OutputBin
{
    *rcNameID: =IDS_OUTPUTBIN_DISPLAY
    *HelpIndex: =IDH_UNIDRV_OUTPUT_BIN_EC6
    *DefaultOption: Auto

    *Option: Auto
    {
        *rcNameID: =IDS_AUTO_SELECT
    }

    *Option: Upper
    {
        *rcNameID: =IDS_TOP_BIN_FACE_DOWN
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
        }
    }

    *Option: Left
    {
        *rcNameID: =IDS_LEFT_BIN_FACE_UP
        *OutputOrderReversed?: TRUE         *% Verify with the spec
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=LOWER<0A>"
        }
    }

    *Option: MailBox1
    {
        *rcNameID: =IDS_MAILBOX_1
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
        }
    }

    *Option: MailBox2
    {
        *rcNameID: =IDS_MAILBOX_2
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
        }
    }

    *Option: MailBox3
    {
        *rcNameID: =IDS_MAILBOX_3
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN4<0A>"
        }
    }

    *Option: MailBox4
    {
        *rcNameID: =IDS_MAILBOX_4
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN5<0A>"
        }
    }

    *Option: MailBox5
    {
        *rcNameID: =IDS_MAILBOX_5
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN6<0A>"
        }
    }

    *Option: MailBox6
    {
        *rcNameID: =IDS_MAILBOX_6
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>"
        }
    }

    *Option: MailBox7
    {
        *rcNameID: =IDS_MAILBOX_7
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN8<0A>"
        }
    }

    *Option: MailBox8
    {
        *rcNameID: =IDS_MAILBOX_8
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN9<0A>"
        }
    }

    *Option: Stapler
    {
        *rcNameID: =IDS_STAPLER_BIN
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.5
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>@PJL SET FINISH=STAPLE<0A>"
        }
    }

    *Option: Stacker
    {
        *rcNameID: =IDS_STACKER_BIN
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
        }
    }

    *Option: Seperator
    {
        *rcNameID: =IDS_JOB_SEPARATOR_BIN
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
        }
    }

    *Option: Collator
    {
        *rcNameID: =IDS_COLLATOR_BIN
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
        }
    }

    *Option: StackerStapled
    {
        *rcNameID: =IDS_STACKER_BIN_STAPLED
        *switch: Stapling
        {
            *case: 1parallel
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>@PJL SET FINISH=STAPLE<0A>@PJL SET STAPLEOPTION=ONE<0A>"
                }
            }

            *case: 1diagonal
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>@PJL SET FINISH=STAPLE<0A>@PJL SET STAPLEOPTION=ONEANGLED<0A>"
                }
            }

            *case: 2parallel
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>@PJL SET FINISH=STAPLE<0A>@PJL SET STAPLEOPTION=TWO<0A>"
                }
            }

            *case: 3parallel
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>@PJL SET FINISH=STAPLE<0A>@PJL SET STAPLEOPTION=THREE<0A>"
                }
            }

            *case: Stitching
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>@PJL SET FINISH=STAPLE<0A>@PJL SET STAPLEOPTION=SIX<0A>"
                }
            }

            *case: Custom
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>@PJL SET FINISH=STAPLE<0A>PJL SET STAPLEOPTION=CUSTOM<0A>"
                }
            }
        }
    }
}

*Feature: Stapling
{
    *rcNameID: =IDS_STAPLER
    *HelpIndex: =IDH_UNIDRV_PH3_STAPLING_OPTIONS
    *DefaultOption: None

    *Option: None
    {
        *rcNameID: =IDS_NONE
    }

    *Option: 1parallel
    {
        *rcNameID: =IDS_ONE_STAPLE
    }

    *Option: 1diagonal
    {
        *rcNameID: =IDS_ONE_STAPLE_ANGLED
    }

    *Option: 2parallel
    {
        *rcNameID: =IDS_TWO_STAPLE
    }

    *Option: 3parallel
    {
        *rcNameID: =IDS_THREE_STAPLE
    }

    *Option: Stitching
    {
        *rcNameID: =IDS_SIX_STAPLES
    }

    *Option: Custom
    {
        *rcNameID: =IDS_ADMINISTRATOR_DEFINED
    }
}

*%  Keep this feature only for color printers

*ChangeColorModeOnDoc?: FALSE
*Feature: ColorMode
{
    *rcNameID: =IDS_COLOR_PRINTING_MODE
    *HelpIndex: =IDH_UNIDRV_COLOR_MODE
    *DefaultOption: 24bpp

    *Option: Mono
    {
        *rcNameID: =IDS_MONOCHROME
        *DevNumOfPlanes: 1
        *DevBPP: 1
        *Color? : FALSE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: "<1B>&b1M"
        }
    }

    *Option: 24bpp
    {
        *rcNameID: =IDS_TRUE_COLOR
        *DevNumOfPlanes: 1
        *DevBPP: 24
        *DrvBPP: 24
        *PaletteSize: 256
        *PaletteProgrammable? : TRUE
        *Command: CmdDefinePaletteEntry
        {
            *Cmd : "<1B>*v" %d{RedValue}"a"
+                            %d{GreenValue}"b"
+                            %d{BlueValue}"c"
+                            %d{PaletteIndexToProgram}"I"
        }
        *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
        *Command: CmdSetSrcBmpWidth { *Cmd : "<1B>*r" %d{RasterDataWidthInBytes / 3}"S" }
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *Cmd: "<1B>*v1N<1B>*v1O<1B>*l184O<1B>*v6W<000308080808><1B>*v0a0b0c7i255a255b255c0I<1B>*o3W<060406>"
        }
    }
}

*Feature: TextAsBlack
{
    *rcNameID: =IDS_PRINTALLBLACK
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_PRINT_TEXT_BLACK_EC5
    *DefaultOption: False

    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
*Ifdef: WINNT_51
        *Constraints: GraphicsMode.RASTERMODE
*Endif:
    }
}

*Feature: TTAsBitmapsSetting
{
    *rcNameID: =IDS_TTASBITMAPS
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_TRUETYPE_AS_BITMAP
    *DefaultOption: TTModeOutline

    *Option: TTModeOutline
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

    *Option: TTModeBitmap
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*switch: TTAsBitmapsSetting
{
    *case: TTModeBitmap
    {
        *FontFormat: HPPCL_RES
    }

    *case: TTModeOutline
    {
        *FontFormat: HPPCL_OUTLINE
    }
}

*Ifdef: WINNT_51

*Personality: =PERSONALITY_HPGL2
*Feature: GraphicsMode
{
    *rcNameID: =IDS_RENDERING_MODE
    *DefaultOption: HPGL2MODE
    *HelpIndex: =IDH_UNIDRV_GRAPHICS_MODE_2
    
    *Option: HPGL2MODE
    {
        *rcNameID: =IDS_RENDERMODE_VECTOR
    }

    *Option: RASTERMODE
    {
        *rcNameID: =IDS_RENDERMODE_RASTER
    }
}

*Endif:

*Feature: HPBackSidePrinting
{
    *rcNameID: =IDS_BACK_SIDE_PRINTING
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_BACKSIDE_PRINTING
    *DefaultOption: False

    *Option: False
    {
        *rcNameID: =IDS_OFF_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.140
            *Cmd: "@PJL SET PRINTONBACKSIDE=OFF<0A>"
        }
    }

    *Option: True
    {
        *rcNameID: =IDS_ON_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.140
            *Cmd: "@PJL SET PRINTONBACKSIDE=ON<0A>"
        }
    }
}

*%-------------------------------------------------------------------------
*% PRN_PROP Standard features section
*%-------------------------------------------------------------------------

*Feature: AutoConfiguration
{
    *rcNameID: =IDS_AUTO_CONFIGURATION
    *HelpIndex: =IDH_UPDATE_NOW_EC6
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: NotInstalled

    *Option: NotInstalled
    {
        *rcNameID: =IDS_OFF_DISPLAY
    }
    *Option: Installed
    {
        *rcNameID: =IDS_UPDATE_NOW
    }
}

*Feature: Tray2
{
    *rcNameID: =IDS_TRAY2
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_HP5SI_TRAY
    *DefaultOption: NotInstalled

    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
        *Constraints: InputBin.Tray2
    }

    *Option: Installed
    {
        *rcNameID: =IDS_INSTALLED
    }
}

*Feature: Tray4
{
    *rcNameID: =IDS_TRAY4
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_HP5SI_HCI
    *DefaultOption: NotInstalled

    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
        *Constraints: LIST(InputBin.Tray4_1000,InputBin.Tray4_2000)
    }

    *Option: Tray4_1000
    {
        *rcNameID: =IDS_TRAY4_1000
        *Constraints: InputBin.Tray4_2000
    }

    *Option: Tray4_2000
    {
        *rcNameID: =IDS_TRAY4_2000
        *Constraints: InputBin.Tray4_1000
    }
}

*Feature: DuplexUnit
{
    *rcNameID: =IDS_DUPLEX_2_SIDED_PRINTING
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_DUPLEX_UNIT_EC5
    *DefaultOption: NotInstalled

    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
        *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
        *DisabledFeatures: LIST(Duplex)
    }

    *Option: Installed
    {
        *rcNameID: =IDS_INSTALLED
    }
}

*Feature: AccessoryOutputBins
{
    *rcNameID: =IDS_ACCESSORY_OUTPUT_BIN
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_ACCESSORY_OUTPUT_BIN_EC5
    *DefaultOption: None

    *Option: None
    {
        *rcNameID: =IDS_NOTINSTALLED
        *DisabledFeatures: LIST(Stapling, MailBoxModes)
    }

    *Option: MBM8
    {
        *rcNameID: =IDS_8BIN_MAILBOX
        *DisabledFeatures: LIST(Stapling)
    }

    *Option: 3000Stacker
    {
        *rcNameID: =IDS_HP_3000_SHEET_STACKER
        *DisabledFeatures: LIST(Stapling, MailBoxModes)
    }

    *Option: 3000Stapler
    {
        *rcNameID: =IDS_HP_3000_SHEET_STAPLERSTACKER
        *DisabledFeatures: LIST(MailBoxModes)
    }
}

*Feature: MailBoxModes
{
    *rcNameID: =IDS_MAILBOX_MODE
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: MailboxModeMailbox

    *Option: MailboxModeMailbox
    {
        *rcNameID: =IDS_MAILBOX
    }

    *Option: MailboxModeStacker
    {
        *rcNameID: =IDS_STACKER
    }

    *Option: MailboxModeSeperator
    {
        *rcNameID: =IDS_JOB_SEPARATOR
    }

    *Option: MailboxModeCollator
    {
        *rcNameID: =IDS_COLLATOR
    }
}

*Feature: Memory
{
    *rcNameID: =IDS_PRINTER_MEMORY
    *HelpIndex: =IDH_UNIDRV_HP5SI_MEM
    *DefaultOption: 32MB

    *Option: 32MB
    {
        *rcNameID: =IDS_32_MB
        *MemoryConfigMB: PAIR(32, 6)
    }

    *Option: 48MB
    {
        *rcNameID: =IDS_48_MB
        *MemoryConfigMB: PAIR(48, 14)
    }

    *Option: 64MB
    {
        *rcNameID: =IDS_64_MB
        *MemoryConfigMB: PAIR(64, 22)
    }

    *Option: 72MB
    {
        *rcNameID: =IDS_72_MB
        *MemoryConfigMB: PAIR(72, 26)
    }

    *Option: 80MB
    {
        *rcNameID: =IDS_80_MB
        *MemoryConfigMB: PAIR(80, 30)
    }

    *Option: 96MB
    {
        *rcNameID: =IDS_96_MB
        *MemoryConfigMB: PAIR(96, 38)
    }

    *Option: 160MB
    {
        *rcNameID: =IDS_160_MB
        *MemoryConfigMB: PAIR(160, 70)
    }
}

*Feature: PrinterHardDisk
{
    *rcNameID: =IDS_PRINTERHARDDISK
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_PRINTER_HARD_DISK
    *DefaultOption: NotInstalled

    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
    }

    *Option: Installed
    {
        *rcNameID: =IDS_INSTALLED
    }
}

*Feature: JobRetention
{
    *rcNameID: =IDS_JOBR_CB_TITLE
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_JOBRETENTION_PH3
    *DefaultOption: Installed

    *Option: NotInstalled
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

    *Option: Installed
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.30
            *CallbackID: =CMDCB_JRSTARTDOC
        }
    }
}

*Feature: DeviceIsMopier
{
    *rcNameID:=IDS_MOPIER_MODE
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_MOPIER_ENABLED
    *DefaultOption: Installed
    
    *Option: NotInstalled
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
        *DisabledFeatures: LIST(Collate)
    }
    *Option: Installed
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*%-------------------------------------------------------------------------
*% DOC_PROP Custom features section
*%-------------------------------------------------------------------------

*%  This feature is used for the Print Quality association.
*%  The help index, and option name strings are taken from here and displayed on the HP Paper/Quality tab page
*%  under the Print Quality list box. 
*%  Each of these option selections are associated with a set of other GPD feature selections
*%  (visible or hidden in treeview) using the HP specific XML data file

*Feature: PrintQualityGroup
{
    *Name: "PrintQualityGroup"
    *HelpIndex: =IDH_UNIDRV_PRINT_QUALITY_PH3
    *FeatureType: DOC_PROPERTY
    *DefaultOption: PQGroup_1

    *Option: PQGroup_1
    {
        *rcNameID: =IDS_600DPI_RES
    }
}

*%  HPColorSmart feature - specifies Automatic and Manual options

*Feature: HPColorSmart
{
    *Name: "HPColorSmart"
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_COLORTREATMENT

    *Option: Automatic
    {
      *rcNameID: =IDS_RB_AUTOMATIC
    }

    *Option: Manual
    {
      *rcNameID: =IDS_RB_MANUAL
    }
}

*%  Associated features under HPColorSmart
*%  The help index, and strings are taken from specified pseudo-options and displayed on the Color tab ColorSmart treeview dialog
*%  The actual options are also specified and commands are sent through them

*%  Verify the actual options, commands, help and strings from the spec

*Feature: HPColorSmart_Text_ColorMap
{
    *Name: "HPColorSmart_Text_ColorMap"
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_COLOROPTIONS_TEXT_PH3
    *DefaultOption: Vivid

    *Option: RCID_500_783
    {
        *Name: " "
    }

    *Option: HelpID_15145
    {
        *Name: " "
    }

    *Option: Default_Vivid
    {
        *Name: " "
    }

    *Option: Vivid
    {
         *rcNameID: =IDS_COLMATCH2
    }

    *Option: ScreenMatch
    {
         *rcNameID: =IDS_COLMATCH1
    }

     *Option: Transparency
     {
          *rcNameID: =IDS_COLMATCH4
     }
}

*Feature: HPColorSmart_Text_Halftone
{
    *Name: "HPColorSmart_Text_Halftone"
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_COLOROPTIONS_TEXT_PH3
    *DefaultOption: Detail

    *Option: RCID_500_784
    {
        *Name: " "
    }

    *Option: HelpID_15139
    {
        *Name: " "
    }

    *Option: Default_Detail
    {
        *Name: " "
    }

    *Option: Smooth
    {
        *rcNameID: =IDS_HALFTONE2
    }

    *Option: Detail
    {
        *rcNameID: =IDS_HALFTONE1
    }
}

*Feature: HPColorSmart_Graphics_ColorMap
{
    *Name: "HPColorSmart_Graphics_ColorMap"
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_COLOROPTIONS_GRAPHICS
    *DefaultOption: Vivid

    *Option: RCID_501_783
    {
        *Name: " "
    }

    *Option: HelpID_15145
    {
        *Name: " "
    }

    *Option: Default_Vivid
    {
        *Name: " "
    }

    *Option: Vivid
    {
         *rcNameID: =IDS_COLMATCH2
    }

    *Option: ScreenMatch
    {
         *rcNameID: =IDS_COLMATCH1
    }

     *Option: Transparency
     {
          *rcNameID: =IDS_COLMATCH4
     }
}

*Feature: HPColorSmart_Graphics_Halftone
{
    *Name: "HPColorSmart_Graphics_Halftone"
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_COLOROPTIONS_TEXT_PH3
    *DefaultOption: Detail

    *Option: RCID_501_784
    {
        *Name: " "
    }

    *Option: HelpID_15139
    {
        *Name: " "
    }

    *Option: Default_Detail
    {
        *Name: " "
    }

    *Option: Smooth
    {
        *rcNameID: =IDS_HALFTONE2
    }

    *Option: Detail
    {
        *rcNameID: =IDS_HALFTONE1
    }
}

*Feature: HPColorSmart_Photos_ColorMap
{
    *Name: "HPColorSmart_Photos_ColorMap"
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_COLOROPTIONS_PHOTOS_PH3
    *DefaultOption: Vivid

    *Option: RCID_502_783
    {
        *Name: " "
    }

    *Option: HelpID_15145
    {
        *Name: " "
    }

    *Option: Default_Vivid
    {
        *Name: " "
    }

    *Option: Vivid
    {
         *rcNameID: =IDS_COLMATCH2
    }

    *Option: ScreenMatch
    {
         *rcNameID: =IDS_COLMATCH1
    }

     *Option: Transparency
     {
          *rcNameID: =IDS_COLMATCH4
     }
}

*Feature: HPColorSmart_Photos_Halftone
{
    *Name: "HPColorSmart_Photos_Halftone"
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_COLOROPTIONS_PHOTOS_PH3
    *DefaultOption: Smooth

    *Option: RCID_502_784
    {
        *Name: " "
    }

    *Option: HelpID_15139
    {
        *Name: " "
    }

    *Option: Default_Smooth
    {
        *Name: " "
    }

    *Option: Smooth
    {
        *rcNameID: =IDS_HALFTONE2
    }

    *Option: Detail
    {
        *rcNameID: =IDS_HALFTONE1
    }
}

*%  This feature is used for some legacy LJ PCL5 models which has model specific hardcoding in color vector module

*Feature: HPPrinterCode
{
    *Name: "HPPrinterCode"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: HPC8550

    *Option: HPC8550
    {
        *Name: "HPC8550"
    }
}

*%  This feature is used for specifying whether the printer is color or monochrome
*%  Possible values are MONOCHROME_MODE, COLOR_MODE
*%  Based on the color/monochrome support, the Color tab is shown in the HP UI. 
*%  Using this, additional specific processing and switching can also be done in the HP UI and render plug-in modules

*Feature: HPColorMode
{
    *Name: "HPColorMode"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: COLOR_MODE

    *Option: COLOR_MODE
    {
        *Name: "COLOR_MODE"
    }
}

*%  This feature is used for specifying the PDL of the driver. 
*%  Possible values are PDL_PCL3, PDL_PCL5, PDL_PCL6, PDL_PS
*%  Using this, additional specific processing and switching can also be done in the HP UI and render plug-in modules

*Feature: HPPDLType
{
    *Name: "HPPDLType"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: PDL_PCL5

    *Option: PDL_PCL5
    {
        *Name: "PDL_PCL5"
    }
}

*% This feature is used for specifying the maximum resolution supported by the printer for use in the render module
*% Possible values are PDM_1500DPI, PDM_300DPI, PDM_600DPI

*Feature: HPMaxResolution
{
    *Name: "HPMaxResolution"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: PDM_600DPI
    *Option: PDM_600DPI
    {
        *Name: "PDM_600DPI"
    }
}

*% This feature is used for the Job Accounting feature for sending various statistical and metrics data to the printer
*% Possible values are HPJOBACCT_JOBACNT (Job Accounting alone), HPJOBACCT_JOBACNT_TIMESTAMP (Job Accounting and Time Stamp)
*% A callback ID (must be 1) is specified and in the render module, the metrics data is obtained 
*% and sent as PJLs to the printer

*Feature: HPJobAccounting
{
    *Name: "HPJobAccounting"
    *FeatureType: DOC_PROPERTY

    *Option: HPJOBACCT_JOBACNT
    {
        *Name: "HPJOBACCT_JOBACNT"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.10
            *CallbackID: =CMDCB_HPJOBACCOUNT
        }
    }
}

*% This feature is used for the Job By Hob Override feature. Here the user name needs to be sent with every job
*% Possible values are JBJO
*% A callback ID (must be 5) is specified and in the render module, the user name is obtained 
*% and sent as PJLs to the printer

*Feature: HPJobByJobOverride
{
    *Name: "HPJobByJobOverride"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: JBJO

    *Option: JBJO
    {
        *Name: "JBJO"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.40
            *CallbackID: =CMDCB_HPJBJO
        }
    }
}

*% This feature is used for specifying the HP specific XML file name that the printer is using
*% The HP specific XML file is an additional data fle to the UI and render modules. It specifies enhanced data like
*% Print Quality automation, External Quicksets, Media Type Ordering, DMC Install and Upgrade Time events etc
*% The XML file is used only in the read mode dynamically during the UI session

*Feature: HPXMLFileUsed
{
    *Name: "HPXMLFileUsed"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: hpc6li5l.xml

    *Option: hpc6li5l.xml
    {
        *Name: "hpc6li5l.xml"
    }

    *Option: HPXMLFileNameEnd
    {
        *Name: ""
    }
}

*% This feature is used for enabling smart duplexing on a single page job 
*% (i.e not playing the blank side of the page)
*% Required as True for all products

*Feature: HPSmartDuplexSinglePageJob
{
    *Name: "HPSmartDuplexSinglePageJob"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True

    *Option: True
    {
        *Name: "True"
    }
}

*% This feature is used for enabling smart duplexing on odd page job and improving duplex performance for the same
*% Option is printer model dependent. False if model does not support this and True otherwise

*Feature: HPSmartDuplexOddPageJob
{
    *Name: "HPSmartDuplexOddPageJob"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    
    *Option: False
    {
        *Name: "False"
    }
}

*%  HPCovers custom feature
*%  Mandatory for models supporting Use Different Paper from 03Q3 level onwards.
*%  This feature defines the list of options that will appear in the List Box on the Paper/Quality tab page

*Feature: HPCovers
{
    *Name: "HPCovers"
    *FeatureType: DOC_PROPERTY
    *ConflictPriority: 6
    *DefaultOption: Other_Pages

    *Option: Front_Cover
    {
        *rcNameID: =IDS_FRONT_DOVER
    }

    *Option: First_Page
    {
        *rcNameID: =IDS_STA_FIRST_PAGE
    }

    *Option: Other_Pages
    {
        *rcNameID: =IDS_MEDIA_LB_OTHER_PAGES
    }

    *Option: Last_Page
    {
        *rcNameID: =IDS_LAST_PAGE
    }

    *Option: Back_Cover
    {
        *rcNameID: =IDS_BACK_COVER
    }
}

*%-------------------------------------------------------------------------
*% PRN_PROP Custom features section
*%-------------------------------------------------------------------------

*%  Job Storage custom feature
*%  JRConstraints will have an option value for full, none or partial
*%  (1) JRCHDFull - the printer requires a Hard Disk for ALL JR options
*%  (2) JRCHDPartial - the printer requires a HardDisk only for SOME JR options.
*%  (3) JRCHDNone - the printer does NOT require a HardDisk for ANY JR options

*Feature: JRConstraints
{
    *Name: "JRConstraints"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: JRCHDFull

    *Option: JRCHDFull
    {
        *Name: "JRCHDFull"
    }
    *Option: JRCJobRet
    {
        *Name: "JRCJobRet"
    }
    *Option: 0
    {
        *Name: "0"
    }
}

*% This feature is used for the "Combine Media Types and Sources in the application list" feature
*% This feature is currently not shown in the treeview because of Unidrv limitations. 
*% So in any product, this feature is either always present as installed or always present as Not Installed

*Feature: CombineMediaTypesAndInputBins
{
    *rcNameID: =IDS_COMBINE_SOURCE_TYPE
    *FeatureType: PRINTER_PROPERTY 
    *HelpIndex: =IDH_UNIDRV_COMBINE_SOURCE_TYPE
    *DefaultOption: Installed
    
    *Option: Installed
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*%  EAC custom feature
*%  This feature is used to get the Feature Name of the Installable Tray. 
*%  Since all Installable Input Trays are separate GPD features,
*%  a separate custom feature is required to get all the Instalable Input Tray names
*%  This printer has 3 installable trays - EnvFeeder, Tray3 and Tray4

*% Verify that each Installable Tray option corresponds to an option here 

*Feature: HPInstallableTrayFeatureName
{
    *Name: "HPInstallableTrayFeatureName"
    *FeatureType: PRINTER_PROPERTY

    *Option: Tray2
    {
         *Name: ""
    }

    *Option: Tray4
    {
         *Name: ""
    }
}

*%  EAC custom feature
*%  This feature is used to get the part number of each Installable Tray so that mapping with the PML values can be done

*% Verify that each Installable Tray option having PML specification as part number multiple corresponds to an option here 

*Feature: HPInstallableTrayName
{
     *Name: "HPInstallableTrayName"
     *FeatureType: PRINTER_PROPERTY

     *Option: Tray2-R98-1005-000CN
     {
          *Name: ""
     }
}

*%  EAC custom feature
*%  This feature is used to get the capacity of each Installable Tray so that mapping with the PML values can be done

*% Verify that each Installable Tray option having PML specification as capacity corresponds to an option here 

*Feature: HPInstallableTraySize
{
    *Name: "HPInstallableTraySize"
    *FeatureType: PRINTER_PROPERTY

    *Option: Tray4_1000-1000-HCI
    {
         *Name: ""
    }

    *Option: Tray4_2000-2000-HCI
    {
         *Name: ""
    }
}

*%  EAC custom feature
*%  This feature is used to get the part numbers of each Accessory Output Bin.
*%  Since all Accessory Output Bins come under a single GPD feature "*Feature: AccessoryOutputBins",
*%  a separate custom feature is not required to get the actual Output Bin names 

*% Verify that each option in AccessoryOutputBin feature corresponds to an option here 

*Feature: HPInstallableHCO
{
    *Name: "HPInstallableHCO"
    *FeatureType: PRINTER_PROPERTY

    *Option: MBM8-C4785
    {
         *Name: ""
    }

    *Option: 3000Stacker-C4779
    {
         *Name: ""
    }

    *Option: 3000Stapler-C4788
    {
         *Name: ""
    }
}

*% This feature is used for specifying if the HP custom font installer is to be used

*Feature: HPFontInstaller
{
    *Name: "HPFontInstaller"
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: TRUE

    *Option: TRUE
    {
        *Name: ""
    }
}

*%  This feature is used for specifying the range of User Defined Media types. 
*%  This range is used to construct the command sent to the printer for user defined media types

*Feature: HPMediaPMLRange
{
    *Name: "HPMediaPMLRange"
    *FeatureType: PRINTER_PROPERTY

    *Option: 15-19
    {
         *Name: "15-19"
    }
}

*%-------------------------------------------------------------------------
*% Constraints section
*%-------------------------------------------------------------------------

*InvalidCombination: LIST(JobRetention.Installed, PrinterHardDisk.NotInstalled)
*InvalidCombination: LIST(DeviceIsMopier.Installed, PrinterHardDisk.NotInstalled)

*%--------------------------------------------------------------------------
*% Constraints for Input Bin, Paper Size and Media Type.
*%--------------------------------------------------------------------------
*InvalidCombination: LIST(InputBin.Tray4_1000,MediaType.TRANSPARENCY)
*InvalidCombination: LIST(InputBin.Tray4_2000,MediaType.TRANSPARENCY)
*InvalidCombination: LIST(InputBin.Tray2,MediaType.LABELS)
*InvalidCombination: LIST(InputBin.Tray3,MediaType.LABELS)
*InvalidCombination: LIST(InputBin.Tray4_1000,MediaType.LABELS)
*InvalidCombination: LIST(InputBin.Tray4_2000,MediaType.LABELS)
*InvalidCombination: LIST(InputBin.Tray2,MediaType.HEAVY)
*InvalidCombination: LIST(InputBin.Tray3,MediaType.HEAVY)
*InvalidCombination: LIST(InputBin.Tray4_1000,MediaType.HEAVY)
*InvalidCombination: LIST(InputBin.Tray4_2000,MediaType.HEAVY)
*InvalidCombination: LIST(InputBin.Tray2,MediaType.CARDSTOCK)
*InvalidCombination: LIST(InputBin.Tray3,MediaType.CARDSTOCK)
*InvalidCombination: LIST(InputBin.Tray2,MediaType.ENVELOPE)
*InvalidCombination: LIST(InputBin.Tray3,MediaType.ENVELOPE)
*InvalidCombination: LIST(InputBin.Tray4_1000,MediaType.ENVELOPE)
*InvalidCombination: LIST(InputBin.Tray4_2000,MediaType.ENVELOPE)

*%------------------------------------------------------------------------
*%  Constraints for Duplexing with MediaTypes
*%------------------------------------------------------------------------
*InvalidCombination: LIST(Duplex.VERTICAL,MediaType.TRANSPARENCY)
*InvalidCombination: LIST(Duplex.HORIZONTAL,MediaType.TRANSPARENCY)
*InvalidCombination: LIST(Duplex.VERTICAL,MediaType.LABELS)
*InvalidCombination: LIST(Duplex.HORIZONTAL,MediaType.LABELS)
*InvalidCombination: LIST(Duplex.VERTICAL,MediaType.CARDSTOCK)
*InvalidCombination: LIST(Duplex.HORIZONTAL,MediaType.CARDSTOCK)
*InvalidCombination: LIST(Duplex.VERTICAL,MediaType.HEAVY)
*InvalidCombination: LIST(Duplex.HORIZONTAL,MediaType.HEAVY)
*InvalidCombination: LIST(Duplex.VERTICAL,MediaType.ENVELOPE)
*InvalidCombination: LIST(Duplex.HORIZONTAL,MediaType.ENVELOPE)

*% AccessoryOutputBins (None) and OutputBin constraints

*InvalidCombination: LIST(AccessoryOutputBins.None, OutputBin.MailBox1)
*InvalidCombination: LIST(AccessoryOutputBins.None, OutputBin.MailBox2)
*InvalidCombination: LIST(AccessoryOutputBins.None, OutputBin.MailBox3)
*InvalidCombination: LIST(AccessoryOutputBins.None, OutputBin.MailBox4)
*InvalidCombination: LIST(AccessoryOutputBins.None, OutputBin.MailBox5)
*InvalidCombination: LIST(AccessoryOutputBins.None, OutputBin.MailBox6)
*InvalidCombination: LIST(AccessoryOutputBins.None, OutputBin.MailBox7)
*InvalidCombination: LIST(AccessoryOutputBins.None, OutputBin.MailBox8)
*InvalidCombination: LIST(AccessoryOutputBins.None, OutputBin.Stapler)
*InvalidCombination: LIST(AccessoryOutputBins.None, OutputBin.Stacker)
*InvalidCombination: LIST(AccessoryOutputBins.None, OutputBin.Seperator)
*InvalidCombination: LIST(AccessoryOutputBins.None, OutputBin.Collator)
*InvalidCombination: LIST(AccessoryOutputBins.None, OutputBin.StackerStapled)

*% MailBoxModes (MailboxModeStacker) and OutputBin constraints

*InvalidCombination: LIST(MailBoxModes.MailboxModeStacker,OutputBin.MailBox1)
*InvalidCombination: LIST(MailBoxModes.MailboxModeStacker,OutputBin.MailBox2)
*InvalidCombination: LIST(MailBoxModes.MailboxModeStacker,OutputBin.MailBox3)
*InvalidCombination: LIST(MailBoxModes.MailboxModeStacker,OutputBin.MailBox4)
*InvalidCombination: LIST(MailBoxModes.MailboxModeStacker,OutputBin.MailBox5)
*InvalidCombination: LIST(MailBoxModes.MailboxModeStacker,OutputBin.MailBox6)
*InvalidCombination: LIST(MailBoxModes.MailboxModeStacker,OutputBin.MailBox7)
*InvalidCombination: LIST(MailBoxModes.MailboxModeStacker,OutputBin.MailBox8)
*InvalidCombination: LIST(MailBoxModes.MailboxModeStacker,OutputBin.Stapler)
*InvalidCombination: LIST(MailBoxModes.MailboxModeStacker,OutputBin.Seperator)
*InvalidCombination: LIST(MailBoxModes.MailboxModeStacker,OutputBin.Collator)
*InvalidCombination: LIST(MailBoxModes.MailboxModeStacker,OutputBin.StackerStapled)

*% MailBoxModes (MailboxModeSeperator) and OutputBin constraints

*InvalidCombination: LIST(MailBoxModes.MailboxModeSeperator,OutputBin.MailBox1)
*InvalidCombination: LIST(MailBoxModes.MailboxModeSeperator,OutputBin.MailBox2)
*InvalidCombination: LIST(MailBoxModes.MailboxModeSeperator,OutputBin.MailBox3)
*InvalidCombination: LIST(MailBoxModes.MailboxModeSeperator,OutputBin.MailBox4)
*InvalidCombination: LIST(MailBoxModes.MailboxModeSeperator,OutputBin.MailBox5)
*InvalidCombination: LIST(MailBoxModes.MailboxModeSeperator,OutputBin.MailBox6)
*InvalidCombination: LIST(MailBoxModes.MailboxModeSeperator,OutputBin.MailBox7)
*InvalidCombination: LIST(MailBoxModes.MailboxModeSeperator,OutputBin.MailBox8)
*InvalidCombination: LIST(MailBoxModes.MailboxModeSeperator,OutputBin.Stapler)
*InvalidCombination: LIST(MailBoxModes.MailboxModeSeperator,OutputBin.Stacker)
*InvalidCombination: LIST(MailBoxModes.MailboxModeSeperator,OutputBin.Collator)
*InvalidCombination: LIST(MailBoxModes.MailboxModeSeperator,OutputBin.StackerStapled)

*% MailBoxModes (MailboxModeCollator) and OutputBin constraints

*InvalidCombination: LIST(MailBoxModes.MailboxModeCollator,OutputBin.MailBox1)
*InvalidCombination: LIST(MailBoxModes.MailboxModeCollator,OutputBin.MailBox2)
*InvalidCombination: LIST(MailBoxModes.MailboxModeCollator,OutputBin.MailBox3)
*InvalidCombination: LIST(MailBoxModes.MailboxModeCollator,OutputBin.MailBox4)
*InvalidCombination: LIST(MailBoxModes.MailboxModeCollator,OutputBin.MailBox5)
*InvalidCombination: LIST(MailBoxModes.MailboxModeCollator,OutputBin.MailBox6)
*InvalidCombination: LIST(MailBoxModes.MailboxModeCollator,OutputBin.MailBox7)
*InvalidCombination: LIST(MailBoxModes.MailboxModeCollator,OutputBin.MailBox8)
*InvalidCombination: LIST(MailBoxModes.MailboxModeCollator,OutputBin.Stapler)
*InvalidCombination: LIST(MailBoxModes.MailboxModeCollator,OutputBin.Stacker)
*InvalidCombination: LIST(MailBoxModes.MailboxModeCollator,OutputBin.Seperator)
*InvalidCombination: LIST(MailBoxModes.MailboxModeCollator,OutputBin.StackerStapled)


*% AccessoryOutputBins (MBM8) MailBoxModes (MailboxModeMailbox) and OutputBin constraints

*InvalidCombination: LIST(AccessoryOutputBins.MBM8, MailBoxModes.MailboxModeMailbox,OutputBin.Stapler)
*InvalidCombination: LIST(AccessoryOutputBins.MBM8, MailBoxModes.MailboxModeMailbox,OutputBin.Stacker)
*InvalidCombination: LIST(AccessoryOutputBins.MBM8, MailBoxModes.MailboxModeMailbox,OutputBin.Seperator)
*InvalidCombination: LIST(AccessoryOutputBins.MBM8, MailBoxModes.MailboxModeMailbox,OutputBin.Collator)
*InvalidCombination: LIST(AccessoryOutputBins.MBM8, MailBoxModes.MailboxModeMailbox,OutputBin.StackerStapled)


*%for 3000stacker in the Accessory output bin

*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, OutputBin.MailBox1)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, OutputBin.MailBox2)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, OutputBin.MailBox3)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, OutputBin.MailBox4)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, OutputBin.MailBox5)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, OutputBin.MailBox6)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, OutputBin.MailBox7)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, OutputBin.MailBox8)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, OutputBin.Collator)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, OutputBin.Seperator)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, OutputBin.Stapler)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, OutputBin.StackerStapled)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, MailBoxModes.MailboxModeStacker)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, MailBoxModes.MailboxModeSeperator)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stacker, MailBoxModes.MailboxModeCollator)

*%for 3000Stapler/stacker in the Accessory output bin

*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, OutputBin.MailBox1)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, OutputBin.MailBox2)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, OutputBin.MailBox3)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, OutputBin.MailBox4)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, OutputBin.MailBox5)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, OutputBin.MailBox6)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, OutputBin.MailBox7)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, OutputBin.MailBox8)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, OutputBin.Collator)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, OutputBin.Seperator)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, OutputBin.Stacker)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, OutputBin.Stapler)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, MailBoxModes.MailboxModeStacker)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, MailBoxModes.MailboxModeSeperator)
*InvalidCombination: LIST(AccessoryOutputBins.3000Stapler, MailBoxModes.MailboxModeCollator)


*%-------------------------------------------------------------------------
*% Commands section
*%-------------------------------------------------------------------------

*Command: CmdStartJob
{
    *Order: JOB_SETUP.1
    *Cmd: "<1B>%%-12345X@PJL JOB<0A>"
}

*Command: CmdStartDoc
{
    *Order: DOC_SETUP.1
    *Cmd: "<1B>&u600D<1B>*r0F"
}

*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *Cmd: "<1B>E<1B>%%-12345X@PJL EOJ<0A><1B>%%-12345X"
}

*Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
*Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
*Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
*Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*Command: CmdUniDirectionOn { *Cmd : "<00>" }
*Command: CmdUniDirectionOff { *Cmd : "<00>" }
*Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
*Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
*Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
*Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
*Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
*Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
*Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
*Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
*Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
*Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
*Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
*Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
*Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
*Command: CmdSelectSingleByteMode { *Cmd : "<1B>&t0P" }
*Command: CmdSelectDoubleByteMode { *Cmd : "<1B>&t21P" }
*Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
*Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
*Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
*Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
*Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }

*%  Color Palette commands
*Command: CmdDownloadPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*c" %d{PatternBrushSize}"W" }
*Command: CmdSelectPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*v" %d{PatternBrushType}"T" }
*Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
*Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }


*%-------------------------------------------------------------------------
*% Render standard keywords section
*%-------------------------------------------------------------------------

*CharPosition: BASELINE     *% character positioning keyword must be present even if device font are not present
*RotateCoordinate?: TRUE
*RotateRaster?: TRUE
*RotateFont?: TRUE
*EjectPageWithFF?: FALSE
*TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
*MemoryUsage: LIST(FONT)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 600
*YMoveUnit: 600
*OptimizeLeftBound?: TRUE
*MinGrayFill: 1
*MaxGrayFill: 100
